runtime.mutex.key (field)
11 uses
runtime (current package)
lock_futex.go#L60: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L83: for l.key == mutex_unlocked {
lock_futex.go#L84: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L93: for l.key == mutex_unlocked {
lock_futex.go#L94: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L102: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L107: futexsleep(key32(&l.key), mutex_sleeping, -1)
lock_futex.go#L116: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L121: futexwakeup(key32(&l.key), 1)
mheap.go#L1687: span.speciallock.key = 0
runtime2.go#L169: key uintptr
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |